<div class="employeedetails view">
<h2><?php  __('Employeedetail');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employeedetail['Employeedetail']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Login'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employeedetail['Employeedetail']['login']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Phone'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employeedetail['Employeedetail']['phone']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Mobilephone'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employeedetail['Employeedetail']['mobilephone']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Umts'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employeedetail['Employeedetail']['umts']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Seat'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employeedetail['Employeedetail']['seat']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employeedetail['Employeedetail']['created']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modified'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employeedetail['Employeedetail']['modified']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Employee'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($employeedetail['Employee']['last_name'], array('controller' => 'employees', 'action' => 'view', $employeedetail['Employee']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('User'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($employeedetail['User']['last_name'], array('controller' => 'users', 'action' => 'view', $employeedetail['User']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Department'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($employeedetail['Department']['name'], array('controller' => 'departments', 'action' => 'view', $employeedetail['Department']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Saftyinstructor'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($employeedetail['Saftyinstructor']['last_name'], array('controller' => 'saftyinstructors', 'action' => 'view', $employeedetail['Saftyinstructor']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Qualitymanager'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($employeedetail['Qualitymanager']['last_name'], array('controller' => 'qualitymanagers', 'action' => 'view', $employeedetail['Qualitymanager']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Degree'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($employeedetail['Degree']['name'], array('controller' => 'degrees', 'action' => 'view', $employeedetail['Degree']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Contract'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($employeedetail['Contract']['name'], array('controller' => 'contracts', 'action' => 'view', $employeedetail['Contract']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Hardware'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($employeedetail['Hardware']['name'], array('controller' => 'hardwares', 'action' => 'view', $employeedetail['Hardware']['id'])); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Employeedetail', true), array('action' => 'edit', $employeedetail['Employeedetail']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Employeedetail', true), array('action' => 'delete', $employeedetail['Employeedetail']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $employeedetail['Employeedetail']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Employeedetails', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Employeedetail', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Employees', true), array('controller' => 'employees', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Employee', true), array('controller' => 'employees', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Users', true), array('controller' => 'users', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User', true), array('controller' => 'users', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Departments', true), array('controller' => 'departments', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Department', true), array('controller' => 'departments', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Saftyinstructors', true), array('controller' => 'saftyinstructors', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Saftyinstructor', true), array('controller' => 'saftyinstructors', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Qualitymanagers', true), array('controller' => 'qualitymanagers', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Qualitymanager', true), array('controller' => 'qualitymanagers', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Degrees', true), array('controller' => 'degrees', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Degree', true), array('controller' => 'degrees', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Contracts', true), array('controller' => 'contracts', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Contract', true), array('controller' => 'contracts', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Hardwares', true), array('controller' => 'hardwares', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Hardware', true), array('controller' => 'hardwares', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Mailinglists', true), array('controller' => 'mailinglists', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Mailinglist', true), array('controller' => 'mailinglists', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Sapservers', true), array('controller' => 'sapservers', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Sapserver', true), array('controller' => 'sapservers', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Mailinglists');?></h3>
	<?php if (!empty($employeedetail['Mailinglist'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Name'); ?></th>
		<th><?php __('Description'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($employeedetail['Mailinglist'] as $mailinglist):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $mailinglist['id'];?></td>
			<td><?php echo $mailinglist['name'];?></td>
			<td><?php echo $mailinglist['description'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'mailinglists', 'action' => 'view', $mailinglist['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'mailinglists', 'action' => 'edit', $mailinglist['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'mailinglists', 'action' => 'delete', $mailinglist['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $mailinglist['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Mailinglist', true), array('controller' => 'mailinglists', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Sapservers');?></h3>
	<?php if (!empty($employeedetail['Sapserver'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Name'); ?></th>
		<th><?php __('Description'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($employeedetail['Sapserver'] as $sapserver):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $sapserver['id'];?></td>
			<td><?php echo $sapserver['name'];?></td>
			<td><?php echo $sapserver['description'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'sapservers', 'action' => 'view', $sapserver['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'sapservers', 'action' => 'edit', $sapserver['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'sapservers', 'action' => 'delete', $sapserver['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $sapserver['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Sapserver', true), array('controller' => 'sapservers', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
